<?php

use backend\widgets\LeftMenu;

$menus = LeftMenu::widget([
    "encodeLabels" => true,
    "options" => ["class" => "sidebar-menu tree", 'data-widget' => 'tree'],
    "items" => \common\services\AdminMenuService::getAssignedMenus()
]);
?>
<aside class="main-sidebar">
    <section class="sidebar">
        <?= $menus ?>
    </section>
</aside>
